<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>伪类选择器</title>
    <style>
        a {
            color: black;
            font-size: 16px;
            text-decoration: none;
        }

        a:hover {
            color: blue;
            font-size: 24px;
        }

        div {
            width: 200px;
            height: 200px;
            background-color: aquamarine;
            cursor: pointer;   /* 指针 */
        }

        div:hover {
            background-color: coral;
        }
    </style>
</head>
<body>
    <!-- target属性：_blank表示另起一个新窗口；_self表示在当前窗口打开。默认情况下是_self -->
    <a href="https://www.baidu.com/" target="_self">百度一下</a>
    <div></div>
</body>
</html>